// JavaScript Document

//判断浏览器及版本，提示安装更新
        var Sys = {};
        var ua = navigator.userAgent.toLowerCase();
        var s;
        (s = ua.match(/msie ([\d.]+)/)) ? Sys.ie = s[1] :
        (s = ua.match(/firefox\/([\d.]+)/)) ? Sys.firefox = s[1] :
        (s = ua.match(/chrome\/([\d.]+)/)) ? Sys.chrome = s[1] :
        (s = ua.match(/opera.([\d.]+)/)) ? Sys.opera = s[1] :
        (s = ua.match(/version\/([\d.]+).*safari/)) ? Sys.safari = s[1] : 0;

        //以下进行测试
        if (Sys.ie < 8) document.write('<div class=\"tsbox\">您用的是IE' + Sys.ie + '，已经OUT了，借此机会把它换了吧!&nbsp;&nbsp;&nbsp;&nbsp;<a href=\"http://download.microsoft.com/download/1/6/1/16174D37-73C1-4F76-A305-902E9D32BAC9/IE8-WindowsXP-x86-CHS.exe\" target=\"_blank\">点击下载IE8.0</a>&nbsp;&nbsp;&nbsp;&nbsp;<a href=\"https://www.google.com/intl/zh-CN/chrome/browser/?hl=zh-CN\" target=\"_blank\">Google Chrome</a>&nbsp;&nbsp;&nbsp;&nbsp;<a href=\"http://firefox.com.cn/\" target=\"_blank\">Firefox</a>&nbsp;&nbsp;&nbsp;&nbsp;<a href=\"http://cn.opera.com/\" target=\"_blank\">Opera</a>&nbsp;&nbsp;&nbsp;&nbsp;<a href=\"http://www.apple.com.cn/safari/\" target=\"_blank\">Safari</a></div>');
//        if (Sys.firefox) document.write('Firefox: ' + Sys.firefox);
//        if (Sys.chrome) document.write('Chrome: ' + Sys.chrome);
//        if (Sys.opera) document.write('Opera: ' + Sys.opera);
//        if (Sys.safari) document.write('Safari: ' + Sys.safari);